//app.js
App({
  onLaunch: function () {
    // 展示本地存储能力
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

  },
  /**
   * 当小程序启动，或从后台进入前台显示，会触发 onShow
   */
  onShow: function (options) {

  },
  /**
   * 当小程序从前台进入后台，会触发 onHide
   */
  onHide: function () {

  },

  globalData: {
    defaultCity: '上海市',
    defaultCounty: '陆家嘴',
    weatherData: '',
    air: '',
    day: '',
    doubanBase: "https://api.douban.com",
    curBook: ""
  },

  // onLaunch: function () {
  //   //隐藏系统自带的导航栏
  //   wx.hideTabBar();
  // },

})